package com.yungui.libary.util;

import java.util.Random;


public class LogUtils {

    private static final Random random = new Random();

    /**
     * 当前时间乘以2的22次方，然后加上2的23次方的内的随机数
     * @return
     */
    public static String genLogid() {
        Long logid = (System.currentTimeMillis() << 22) + random.nextInt(1 << 23);
        return logid.toString();
    }
}